import service from "@/utils/fetch";
const post = {
  //查询系统日志：admin操作日志 
  sysLog_admin(params) {
    return service({
      method: "get",
      params,
      url: "/api/sysLog/admin",
    });
  },

  //查询系统日志：商户操作日志
  sysLog_tenant(params) {
    return service({
      method: "get",
      params,
      url: `/api/sysLog/tenant`,
    });
  },

  //查询系统日志：平台登陆日志
  sysLog_adminLogin(params) {
    return service({
      method: "get",
      params,
      url: "/api/sysLog/adminLogin",
    });
  },

  //查询系统日志：商户登陆日志
  sysLog_tenantLogin(params) {
    return service({
      method: "get",
      params,
      url: "/api/sysLog/tenantLogin",
    });
  },
};

export default post;
